package com.tanhua.server.service;

import com.tanhua.common.pojo.Settings;

public interface SettingsService {
    /**
     * 查询设置
     * @param id
     * @return
     */
    Settings querySettings(Long id);

    /**
     * 通知设置修改
     * @param id
     * @param likeNotification
     * @param pinglunNotification
     * @param gonggaoNotification
     */
    void updateNotification(Long id, Boolean likeNotification, Boolean pinglunNotification, Boolean gonggaoNotification);
}
